package com.wx.mall.common.exception.code;

public enum TaskRewardResponseCode implements ResponseCodeInterface {
    UPDATE_ERROR(6001, "更新任务奖励设置失败"),
    QUERY_ERROR(6002, "查询任务奖励设置失败");
    /**
     * 响应码
     */
    private int code;

    /**
     * 提示
     */
    private String msg;

    TaskRewardResponseCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
